package com.cya.lotterysystem.controller.param;

import jakarta.validation.Valid;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotEmpty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author ：陈奕安（3048279304@qq.com）
 * @date ：Created in 2025/11/3 14:48
 * @description：
 * @modified By：
 * @version:
 */
@Data
public class CreateActivityParam implements Serializable {

    @NotBlank(message = "活动名称不能为空")
    private String activityName;

    @NotBlank(message = "活动描述不能为空")
    private String description;


    @Valid
    @NotEmpty(message = "活动关联奖品不能为空")
    private List<CreatePrizeByActivityParam> activityPrizeList;
    @Valid
    @NotEmpty(message = "活动关联人员不能为空")
    private List<CreateUserByActivityParam> activityUserList;

}